package com.bbzn.device.client.service.impl;

import com.bbzn.device.client.dto.device.DeviceProcessDTO;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bbzn.device.client.dataobject.DeviceProcess;
import com.bbzn.device.client.dao.device.DeviceProcessMapper;
import com.bbzn.device.client.service.DeviceProcessService;

@Service
public class DeviceProcessServiceImpl implements DeviceProcessService {

    @Resource
    private DeviceProcessMapper deviceProcessMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return deviceProcessMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int deleteDeviceProcessSelective(DeviceProcess record) {
        return deviceProcessMapper.deleteDeviceProcessSelective(record);
    }

    @Override
    public int insert(DeviceProcess record) {
        return deviceProcessMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(DeviceProcess record) {
        return deviceProcessMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(DeviceProcess record) {
        return deviceProcessMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(DeviceProcess record) {
        return deviceProcessMapper.insertSelective(record);
    }

    @Override
    public DeviceProcess selectByPrimaryKey(Long id) {
        return deviceProcessMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(DeviceProcess record) {
        return deviceProcessMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(DeviceProcess record) {
        return deviceProcessMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<DeviceProcess> findByAll(DeviceProcess deviceProcess) {
        return deviceProcessMapper.findByAll(deviceProcess);
    }

    @Override
    public List<String> findByImeisByOperatorId(Long operatorId) {
        return deviceProcessMapper.findByImeisByOperatorId(operatorId);
    }

    @Override
    public int updateBatch(List<DeviceProcess> list) {
        return deviceProcessMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<DeviceProcess> list) {
        return deviceProcessMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<DeviceProcess> list) {
        return deviceProcessMapper.batchInsert(list);
    }

    @Override
    public List<DeviceProcess> selectByimeis(DeviceProcessDTO recordDTO) {
        return deviceProcessMapper.selectByimeis(recordDTO);
    }

}



